<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>love_air: com.example.akisame_lin.love_air2.weather.util.Utility类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">love_air
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example.html">example</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1akisame__lin.html">akisame_lin</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1akisame__lin_1_1love__air2.html">love_air2</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather.html">weather</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util.html">util</a></li><li class="navelem"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility.html">Utility</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">com.example.akisame_lin.love_air2.weather.util.Utility类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:aa9a3d4cb96c634c3c943c447061dc642"><td class="memItemLeft" align="right" valign="top">static boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility.html#aa9a3d4cb96c634c3c943c447061dc642">handleProvinceResponse</a> (String response)</td></tr>
<tr class="separator:aa9a3d4cb96c634c3c943c447061dc642"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf32ef3c1a67dcfe516f7d00fb22b1b8"><td class="memItemLeft" align="right" valign="top">static boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility.html#aaf32ef3c1a67dcfe516f7d00fb22b1b8">handleCityResponse</a> (String response, int provinceId)</td></tr>
<tr class="separator:aaf32ef3c1a67dcfe516f7d00fb22b1b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcbceac496134d24f05c2714d54423b6"><td class="memItemLeft" align="right" valign="top">static boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility.html#adcbceac496134d24f05c2714d54423b6">handleCountyResponse</a> (String response, int cityId)</td></tr>
<tr class="separator:adcbceac496134d24f05c2714d54423b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67f669cea8b9ab2629d9ea6659b99ffd"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1gson_1_1_weather.html">Weather</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility.html#a67f669cea8b9ab2629d9ea6659b99ffd">handleWeatherResponse</a> (String response)</td></tr>
<tr class="separator:a67f669cea8b9ab2629d9ea6659b99ffd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">成员函数说明</h2>
<a id="aaf32ef3c1a67dcfe516f7d00fb22b1b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf32ef3c1a67dcfe516f7d00fb22b1b8">&#9670;&nbsp;</a></span>handleCityResponse()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static boolean com.example.akisame_lin.love_air2.weather.util.Utility.handleCityResponse </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>response</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>provinceId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>解析和处理服务器返回的市级数据 </p>

</div>
</div>
<a id="adcbceac496134d24f05c2714d54423b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcbceac496134d24f05c2714d54423b6">&#9670;&nbsp;</a></span>handleCountyResponse()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static boolean com.example.akisame_lin.love_air2.weather.util.Utility.handleCountyResponse </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>response</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cityId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>解析和处理服务器返回的县级数据 </p>

</div>
</div>
<a id="aa9a3d4cb96c634c3c943c447061dc642"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9a3d4cb96c634c3c943c447061dc642">&#9670;&nbsp;</a></span>handleProvinceResponse()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static boolean com.example.akisame_lin.love_air2.weather.util.Utility.handleProvinceResponse </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>response</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>解析和处理服务器返回的省级数据 </p>

</div>
</div>
<a id="a67f669cea8b9ab2629d9ea6659b99ffd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67f669cea8b9ab2629d9ea6659b99ffd">&#9670;&nbsp;</a></span>handleWeatherResponse()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1gson_1_1_weather.html">Weather</a> com.example.akisame_lin.love_air2.weather.util.Utility.handleWeatherResponse </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>response</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>将返回的JSON数据解析成Weather实体类 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>app/src/main/java/com/example/akisame_lin/love_air2/weather/util/<a class="el" href="java_2com_2example_2akisame__lin_2love__air2_2weather_2util_2_utility_8java.html">Utility.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
